package com.mengjian.myspringai.model;

import java.io.Serial;
import java.io.Serializable;

public class FileUploadModel implements Serializable {
    @Serial
    private static final long serialVersionUID = 7350578719495922522L;
    /**
     * 文件id
     */
    private Integer id;
    /**
     * 桶id
     */
    private Integer bucketId;
    /**
     * 桶名称
     */
    private String bucketName;
    /**
     * 域名
     */
    private String domain;
    /**
     * 文件key
     */
    private String fileKey;
    /**
     * 源文件名称
     */
    private String sourceFile;
    /**
     * 源文件大小
     */
    private int sourceFileSize;
    /**
     * 源文件类型
     */
    private String sourceFileType;
    /**
     * 文件url 注意 不带"http:"
     */
    private String url;
    /**
     * 上传时间
     */
    private String createTime;
    /**
     * 修改时间
     */
    private String updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBucketId() {
        return bucketId;
    }

    public void setBucketId(Integer bucketId) {
        this.bucketId = bucketId;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getFileKey() {
        return fileKey;
    }

    public void setFileKey(String fileKey) {
        this.fileKey = fileKey;
    }

    public String getSourceFile() {
        return sourceFile;
    }

    public void setSourceFile(String sourceFile) {
        this.sourceFile = sourceFile;
    }

    public int getSourceFileSize() {
        return sourceFileSize;
    }

    public void setSourceFileSize(int sourceFileSize) {
        this.sourceFileSize = sourceFileSize;
    }

    public String getSourceFileType() {
        return sourceFileType;
    }

    public void setSourceFileType(String sourceFileType) {
        this.sourceFileType = sourceFileType;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
